package com.sl.au.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 售后服务单跟踪：
 * 
 */
@Entity
@Table(name = "sl_crm_afterSaleTicketTrance")
public class AfterSaleTicketTrance extends Root {

	/**
	 * 活动类型
	 */
	@Column(name = "sActiveType")
	private String activeType;
	/**
	 * 活动说明
	 */
	@Column(name = "sMemo")
	private String memo;

	/**
	 * 售后服务单id
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private AfterSaleTicket afterSaleTicket;
	/**
	 * 售后派遣单id
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private AfterSaleOutHouse afterSaleOutHouse;
	/**
	 * 跟踪人id
	 */
	@ManyToOne
	@JoinColumn(unique = false)
	private User user;
	
	

	public AfterSaleOutHouse getAfterSaleOutHouse() {
		return afterSaleOutHouse;
	}

	public void setAfterSaleOutHouse(AfterSaleOutHouse afterSaleOutHouse) {
		this.afterSaleOutHouse = afterSaleOutHouse;
	}

	public String getActiveType() {
		return activeType;
	}

	public void setActiveType(String activeType) {
		this.activeType = activeType;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public AfterSaleTicket getAfterSaleTicket() {
		return afterSaleTicket;
	}

	public void setAfterSaleTicket(AfterSaleTicket afterSaleTicket) {
		this.afterSaleTicket = afterSaleTicket;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
